package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 用户表拓展表
 * </p>
 *
 * @author Shane
 * @since 2020-07-14
 */
@TableName("user_expand")
public class UserExpand implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户id
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 自动推送im消息状态，1-达到限定值
	 */
	@TableField(value="auto_push_im")
	private Integer autoPushIm;

	@TableField(value = "invite_url")
	private String inviteUrl;

	public UserExpand() {
	}

	public UserExpand(Integer userId) {
		this.userId = userId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getAutoPushIm() {
		return autoPushIm;
	}

	public void setAutoPushIm(Integer autoPushIm) {
		this.autoPushIm = autoPushIm;
	}

	public String getInviteUrl() {
		return inviteUrl;
	}

	public void setInviteUrl(String inviteUrl) {
		this.inviteUrl = inviteUrl;
	}
}
